package Java2;

import java.util.*;

public class Oddnumber {
	public static void main(String[] args)
	{
		int num;
		System.out.println("Enter the Total numbers");

		Scanner input = new Scanner(System.in);
		num = input.nextInt();

		System.out.println("Enter the array of Numbers");
		int[] oddarray = new int[num];
		
		for(int i =0; i<oddarray.length;i++)
		{

			oddarray[i] = input.nextInt();

		}
		System.out.println("Odd Numbers are");

		for(int i =0; i<oddarray.length;i++)
		{

			if(oddarray[i]%2 != 0 )
			{
				System.out.println(oddarray[i]);

			}

		}
	}

}
